package com.yyw.gulimall.product.vo.item;

import com.yyw.gulimall.product.entity.SkuImagesEntity;
import com.yyw.gulimall.product.entity.SkuInfoEntity;
import com.yyw.gulimall.product.entity.SpuInfoDescEntity;
import com.yyw.gulimall.product.vo.supVo.Attr;
import lombok.*;

import java.util.List;

/**
 * @Classname ItemInfoVo
 * @Description 查看商品详情的VO类
 * @Date 2020/12/8 16:09
 * @Created yyw
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ItemInfoVo {
    /**
     * sku 信息
     */
    private SkuInfoEntity skuInfo;
    /**
     * spu 图片信息
     */
    private List<SkuImagesEntity> skuImages;
    /**
     * Spu的销售组合信息
     */
    private List<SaleAttrVo> saleAttrVos;
    /**
     * Spu的基本属性
     */
    private List<SpecificationVo> attrs;
    /**
     * Spu介绍
     */
    private SpuInfoDescEntity spuInfoDesc;
    /**
     * Spu快速展示属性
     */
    private List<Attr> quickAttrs;
    /**
     * 是否有库存
     */
    private boolean hasStock;

}
